<template>
  <div class="Introduce">
    <div class="Introduce_box" >
      <div class="Introduce_box_title">课程简介
        <img src="https://o6wndwjxn.qnssl.com/close.png" @click="Introduce_box_close">
      </div>
      <div class="Introduce_box_item">
        <div v-html="type"></div>
      </div>
      <!-- <div class="Introduce_box_close" @click="Introduce_box_close">取消</div> -->
    </div>
  </div>
</template>

<script>
export default {
  props: {
    type: ''
  },
  data () {
    return {

    }
  },
  methods: {
    Introduce_box_close () {
      this.$emit('IntroduceClose')
    }
  }
}
</script>

<style>
.Introduce_box {
  width: 100vw;
  height: 60vh;
  position: fixed;
  left: 0;
  bottom: 0;
  background: white;
  border-radius: 10px 10px 0 0;
  font-size: 15px;
}
.Introduce_box_title {
  width: 100vw;
  height: 55px;
  line-height: 55px;
  font-size: 18px;
  color: #1a1a1a;
  text-align: center;
  font-weight: bold;
  position: relative;
}
.Introduce_box_item {
  width: 90vw;
  margin: 0 5vw;
  height: calc(60vh - 5px);
  overflow: scroll;
}
.Introduce_box_close {
  width: 100vw;
  height: 55px;
  line-height: 55px;
  font-size: 15px;
  color: #1a1a1a;
  text-align: center;
  border-top: 1px solid #f4f4f4;
}
.Introduce_box_title > img {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 5vw;
}
</style>
